package com.zzsong.proxy.service.impl;

import com.zzsong.proxy.service.DogService;

import javax.xml.ws.ServiceMode;

@ServiceMode
public class DogServiceImpl implements DogService {

    private String dogName;

    public DogServiceImpl(String dogName){
        this.dogName = dogName;
    }
    public DogServiceImpl(){
    }

    @Override
    public void yell() {
        System.out.println("my dog name is:"+dogName);
    }
}
